﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LmActionType", "LmActionType", new string[] { "ATID" })]
    [KnownType(typeof(ActionType))]
    public class ActionType : MB.Orm.Common.BaseModel
    {
        public ActionType()
        {

        }
        private int _ATID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ATID", System.Data.DbType.Int32)]
        public int ATID
        {
            get { return _ATID; }
            set { _ATID = value; }
        }
        private string _PROJECTNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PROJECTNAME", System.Data.DbType.String)]
        public string PROJECTNAME
        {
            get { return _PROJECTNAME; }
            set { _PROJECTNAME = value; }
        }
        private string _TYPENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TYPENAME", System.Data.DbType.String)]
        public string TYPENAME
        {
            get { return _TYPENAME; }
            set { _TYPENAME = value; }
        }

        private string _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.String)]
        public string CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }

        private string _USERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERNAME", System.Data.DbType.String)]
        public string USERNAME
        {
            get { return _USERNAME; }
            set { _USERNAME = value; }
        }

        private string _USERCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERCODE", System.Data.DbType.String)]
        public string USERCODE
        {
            get { return _USERCODE; }
            set { _USERCODE = value; }
        }

        private int _TYPECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TYPECODE", System.Data.DbType.Int32)]
        public int TYPECODE
        {
            get { return _TYPECODE; }
            set { _TYPECODE = value; }
        }

        [DataMember]
        public string ErrorMsg { get; set; }
    }
}
